package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 课程对象 schedule
 * 
 * @author ruoyi
 * @date 2024-03-18
 */
public class Schedule extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long scheduleId;

    /** 班级表主键ID */
    @Excel(name = "班级表主键ID")
    private Long cid;

    /** 学科表主键ID */
    @Excel(name = "学科表主键ID")
    private Long did;

    /** 教师姓名 */
    @Excel(name = "教师姓名")
    private String teacherName;

    /** 开始时间 */
    @Excel(name = "开始时间")
    private String startTime;

    /** 结束时间 */
    @Excel(name = "结束时间")
    private String endTime;

    /** 星期 */
    @Excel(name = "星期")
    private String week;

    /** 类型（上午第一节课还是下午第三节课） */
    @Excel(name = "类型", readConverterExp = "上=午第一节课还是下午第三节课")
    private String type;

    /** 排序（每个班级从1开始） */
    @Excel(name = "排序", readConverterExp = "每=个班级从1开始")
    private Long sort;

    /** 是否删除（1.正常 2.已删除） */
    @Excel(name = "是否删除", readConverterExp = "1=.正常,2=.已删除")
    private Long isDelete;

    public void setTeacherName(String teacherName)
    {
        this.teacherName = teacherName;
    }

    public String getTeacherName()
    {
        return teacherName;
    }

    public void setScheduleId(Long scheduleId) 
    {
        this.scheduleId = scheduleId;
    }

    public Long getScheduleId() 
    {
        return scheduleId;
    }
    public void setCid(Long cid) 
    {
        this.cid = cid;
    }

    public Long getCid() 
    {
        return cid;
    }
    public void setDid(Long did) 
    {
        this.did = did;
    }

    public Long getDid() 
    {
        return did;
    }
    public void setStartTime(String startTime)
    {
        this.startTime = startTime;
    }

    public String getStartTime()
    {
        return startTime;
    }
    public void setEndTime(String endTime)
    {
        this.endTime = endTime;
    }

    public String getEndTime()
    {
        return endTime;
    }
    public void setWeek(String week)
    {
        this.week = week;
    }

    public String getWeek()
    {
        return week;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }
    public void setIsDelete(Long isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Long getIsDelete() 
    {
        return isDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("scheduleId", getScheduleId())
            .append("cid", getCid())
            .append("did", getDid())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("week", getWeek())
            .append("type", getType())
            .append("sort", getSort())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("isDelete", getIsDelete())
            .toString();
    }
}
